#ifndef HDPOINTSUNPROJECTION_H
#define HDPOINTSUNPROJECTION_H

#include <QThread>
#include <QSharedMemory>

class HDPointsUnprojection : public QThread
{
	Q_OBJECT

public:
	HDPointsUnprojection(QObject *parent);
	~HDPointsUnprojection();

protected:
	void run();

signals:
	void New3DCoordinateCalculated(float x, float y, float z);

private:
	QList<float> _zBuffer;
	void UnProjectingPoints();

	QSharedMemory *sharedMemory;
	void writeToSharedMemory();
	
};

#endif // HDPOINTSUNPROJECTION_H
